
package com.theme.passport.entity.constant;

/**
 * 文字类型文字类型：1纯文字，2星期，3年月日，4时分
 */
public enum WidgeConfigElementEnum {

    TEXT(1, "文字"),
    image(2, "图片"),
    ELECTRIC(3, "电量"),
    temperature(4, "温度"),
    TIMEWAIT(5, "计时天数"),
    CALENDAR(6, "日历"),
    GIF(7, "动图"),
    STEPS(8, "步数"),
    ;

    private int value;

    private String name;

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    WidgeConfigElementEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

}
